/** @file trim_bar.cpp
 */
#include "trim_bar.h"

TrimBar::TrimBar(HWND parent, int vstyle):Widget(parent)
{
    this->vstyle =vstyle;
}

TrimBar::~TrimBar()
{
}


void TrimBar::draw(Rect *r)
{
    pDC->dirty(max(r->x0,rect.x0), max(r->y0,rect.y0), min(r->x1,rect.x1), min(r->y1,rect.y1));
    Widget::draw(r);
}

int TrimBar::eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam)
{
    
    return 0;
}
